package com.label.grade.entity.Do;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * 画像-学生成绩-育人团队成员
 * @TableName EDUCATION_TEAM_MEMEBER
 */
public class EducationTeamMemeber extends Model<EducationTeamMemeber> implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 班导师
     */
    private String instructor;

    /**
     * 班导师七位工号
     */
    private String instructorNumber;

    /**
     * 负责班级ID
     */
    private String classId;

    /**
     * 负责班级名称
     */
    private String className;

    /**
     * 团队负责人
     */
    private String teamLeader;

    /**
     * 负责人工号
     */
    private String leaderNumber;

    /**
     * 所属育人团队ID
     */
    private String teamId;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 备注
     */
    private String remark;

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    public Long getId() {
        return id;
    }

    /**
     * id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 班导师
     */
    public String getInstructor() {
        return instructor;
    }

    /**
     * 班导师
     */
    public void setInstructor(String instructor) {
        this.instructor = instructor;
    }

    /**
     * 班导师七位工号
     */
    public String getInstructorNumber() {
        return instructorNumber;
    }

    /**
     * 班导师七位工号
     */
    public void setInstructorNumber(String instructorNumber) {
        this.instructorNumber = instructorNumber;
    }

    /**
     * 负责班级ID
     */
    public String getClassId() {
        return classId;
    }

    /**
     * 负责班级ID
     */
    public void setClassId(String classId) {
        this.classId = classId;
    }

    /**
     * 负责班级名称
     */
    public String getClassName() {
        return className;
    }

    /**
     * 负责班级名称
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * 团队负责人
     */
    public String getTeamLeader() {
        return teamLeader;
    }

    /**
     * 团队负责人
     */
    public void setTeamLeader(String teamLeader) {
        this.teamLeader = teamLeader;
    }

    /**
     * 负责人工号
     */
    public String getLeaderNumber() {
        return leaderNumber;
    }

    /**
     * 负责人工号
     */
    public void setLeaderNumber(String leaderNumber) {
        this.leaderNumber = leaderNumber;
    }

    /**
     * 所属育人团队ID
     */
    public String getTeamId() {
        return teamId;
    }

    /**
     * 所属育人团队ID
     */
    public void setTeamId(String teamId) {
        this.teamId = teamId;
    }

    /**
     * 创建人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 更新人
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 更新人
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 备注
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 备注
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        EducationTeamMemeber other = (EducationTeamMemeber) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getInstructor() == null ? other.getInstructor() == null : this.getInstructor().equals(other.getInstructor()))
            && (this.getInstructorNumber() == null ? other.getInstructorNumber() == null : this.getInstructorNumber().equals(other.getInstructorNumber()))
            && (this.getClassId() == null ? other.getClassId() == null : this.getClassId().equals(other.getClassId()))
            && (this.getClassName() == null ? other.getClassName() == null : this.getClassName().equals(other.getClassName()))
            && (this.getTeamLeader() == null ? other.getTeamLeader() == null : this.getTeamLeader().equals(other.getTeamLeader()))
            && (this.getLeaderNumber() == null ? other.getLeaderNumber() == null : this.getLeaderNumber().equals(other.getLeaderNumber()))
            && (this.getTeamId() == null ? other.getTeamId() == null : this.getTeamId().equals(other.getTeamId()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getInstructor() == null) ? 0 : getInstructor().hashCode());
        result = prime * result + ((getInstructorNumber() == null) ? 0 : getInstructorNumber().hashCode());
        result = prime * result + ((getClassId() == null) ? 0 : getClassId().hashCode());
        result = prime * result + ((getClassName() == null) ? 0 : getClassName().hashCode());
        result = prime * result + ((getTeamLeader() == null) ? 0 : getTeamLeader().hashCode());
        result = prime * result + ((getLeaderNumber() == null) ? 0 : getLeaderNumber().hashCode());
        result = prime * result + ((getTeamId() == null) ? 0 : getTeamId().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", instructor=").append(instructor);
        sb.append(", instructorNumber=").append(instructorNumber);
        sb.append(", classId=").append(classId);
        sb.append(", className=").append(className);
        sb.append(", teamLeader=").append(teamLeader);
        sb.append(", leaderNumber=").append(leaderNumber);
        sb.append(", teamId=").append(teamId);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", remark=").append(remark);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}
